package app.texas.com.devilfishhouse.View.Fragment.mine.mywallet;

import android.view.View;

import com.universal_library.adapter.BaseAdapter;
import com.universal_library.fragment.BaseFragment;
import com.universal_library.fragment.BaseRecycleViewFragment;

import java.util.ArrayList;
import java.util.List;

import app.texas.com.devilfishhouse.Beans.mine.WalletBean;
import app.texas.com.devilfishhouse.R;

/**
 * Created by solin on 2018/7/21.
 * 我的钱包
 */

public class MyWalletFragment extends BaseRecycleViewFragment<WalletBean> {
    private List<WalletBean> walletBeans = new ArrayList<>();

    @Override
    protected void initData() {
        walletBeans.add(new WalletBean());
        walletBeans.add(new WalletBean());
        setmData(walletBeans, 2);
    }

    @Override
    protected BaseAdapter getRecycleAdapter() {
        return new WalletAdapter(mContext);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_wallet;
    }

    @Override
    public void onItemClick(View itemView, int position) {

    }
}
